﻿@model IPagedList<zkdao.Host.RebateService.RebateData>
@using PagedList;
@using PagedList.Mvc;
@{
    ViewBag.Title = "折扣";
}

<div id="filter">

</div>

<ul class="zlist">
    @foreach(var i in Model){
    <li>
        <h4>@i.Title</h4>
        <div class="middle">
            <a><img src="http://localhost:38149/img/@i.PhotoPath?maxwidth=200&maxheight=200" alt="." /></a>
        </div>
        <div class="actions">
            <a class="btn btn-mini">关注</a>
            <a class="btn btn-mini">评论</a>
            <a class="btn btn-mini">屏蔽</a>
        </div>
    </li>
	}
</ul>

@Html.PagedListPager(Model, page => Url.Action("Index", new { page }))